package org.hy.persistence.mypage;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.hy.domain.mypage.MyVisitor;

public interface MyVisitorMapper {
	MyVisitor findMyVisitorById(Integer id);
	
	List<MyVisitor> findMyVisitorsByUid(@Param("uid") int uid,@Param("offset")int offset,@Param("size")int size);
	
	List<MyVisitor> findMyVisitorByIdVisitor(@Param("idVisitor") int idVisitor,@Param("offset")int offset,@Param("size")int size);
	
	int insertMyVisitor(MyVisitor myVisitor);
	
	int updateMyVisitor(MyVisitor myVisitor);
	
	int countMyVisitor(int uid);
}
